package net.mgorski.log4jux.impl;

import net.mgorski.log4jux.Log;
import org.apache.log4j.Logger;

/**
 * @author mgorski <mgorski.net>
 */
public class LogFactory {
  public static Log getLogger(String loggerName) {
    return new LogImpl(Logger.getLogger(loggerName));
  }

  public static Log getLogger(Class clazz) {
    return new LogImpl(Logger.getLogger(clazz));
  }

  public static Log getRootLogger() {
    return new LogImpl(Logger.getRootLogger());
  }
}